﻿using KAsFrame.Common.Dto;
using KAsFrame.Common.Extensions;
using KAsFrame.DomainShared.School;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KAsFrame.Domain.School.Dto
{
    public class StudentDto : IEntityDto<int>
    {
        public string StudentNo { get; set; }

        public string Name { get; set; }

        public int Gender { get; set; }

        public int Age { get; set; }

        public int StudentStatus { get; set; }

        public string StudentStatusMessage
        {
            get
            {
                var @enum = (StudentStatusEnums)StudentStatus;
                return @enum.GetDescription();
            }
        }
    }
}
